<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      div {
        width: 300px;
        height: 200px;
        /*background: linear-gradient(to right,red,blue);
            background: linear-gradient(to bottom,red,blue);*/
        background: linear-gradient(
          to top right,
          blue,
          rgb(96, 175, 96),
          rgb(168, 54, 73)
        );
        background: linear-gradient(30deg, red, blue);
        background: linear-gradient(to top right, red, blue, green);
      }
    </style>
  </head>
  <body>
    <div></div>
  </body>
</html>
